﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Services;
using System.Web.Services.Protocols;

/// <summary>
/// Descripción breve de OrdenFarmaciaService
/// </summary>
public partial class Service
{
    [WebMethod]
    public DataTable OrdendeFarmaciaBuscarxId(string ordfarmaciaid)
    {
        return OrdendeFarmaciaDA.buscarordfarmaciaxid(ordfarmaciaid);
    }
    [WebMethod]
    public string OrdenFarmaciaNueva(string ordfarmaciafecha, string farmaciaid, string atencionid, string medicamento1, string medicamento2, string medicamento3, string medicamento4)
    {
        return OrdendeFarmaciaDA.nuevaordfarmacia(ordfarmaciafecha, farmaciaid, atencionid, medicamento1, medicamento2, medicamento3, medicamento4);
    }

    [WebMethod]
    public string OrdenFarmaciaBorrar(string ordfarmaciaid)
    {
        return OrdendeFarmaciaDA.deleteOrdenFarmacia(ordfarmaciaid);
    }
}